<?php

namespace api\modules\V1;

/**
 * v1 module definition class
 */
class Module extends \yii\base\Module
{
    /**
     * {@inheritdoc}
     */
    public $controllerNamespace = 'api\modules\V1\controllers';

    /**
     * {@inheritdoc}
     */
    public function init()
    {
        parent::init();
        $this->modules = [
            'activity' => [
                'class' => 'api\modules\V1\modules\Activity\Module',
            ],
            'player' => [
                'class' => 'api\modules\V1\modules\Player\Module',
            ],
            'lottery' => [
                'class' => 'api\modules\V1\modules\Lottery\Module',
            ],
        ];
        // custom initialization code goes here
    }
}
